﻿using SqlSugar;
using System;

namespace WomanMotion.WebApi.Model.Entitys
{
    /// <summary>
    /// 队伍表
    /// </summary>
	public class Team : BaseEmpty
    {
        /// <summary>
        /// 队伍分类ID
        /// </summary>
        public long Classid { get; set; }

        /// <summary>
        ///队伍分类对象
        /// </summary>
        [Navigate(NavigateType.OneToOne, nameof(Classid))]
        public Classify? Classify { get; set; } //不能赋值只能是null

        /// <summary>
        /// 队伍名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 队伍介绍
        /// </summary>
        public string? Introduce { get; set; }

        /// <summary>
        /// 队伍LOGO
        /// </summary>
        public string? Logo { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}